package com.alibaba.cloud.dubboprovidersample;

import com.alibaba.cloud.EchoService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 实现服务接口
 *
 * @author <a href="jiangfeng.yan@ikang.com">jiangfeng</a>
 * @version 2021年06月07日 下午 7:04
 */
@DubboService(version="1.0")
public class SimpleEchoService implements EchoService {
    @Override
    public String echo(String s) {
        System.out.println("s = " + s);
        return "测试下接口实现：" + s;
    }
}
